--- amavisd-submit.orig	2016-04-26 23:00:45.365309961 -0500
+++ amavisd-submit	2016-04-26 23:08:17.303900313 -0500
@@ -72,9 +72,9 @@
 ### USER CONFIGURABLE:
 
   $log_level = 0;
-  $tempbase = '/var/amavis/tmp';  # where to create a temp directory with a msg
+  $tempbase = '/var/lib/amavis/tmp';  # where to create a temp directory with a msg
 
-  $socketname = '/var/amavis/amavisd.sock';
+  $socketname = '/var/run/amavis/amavisd.sock';
 # $socketname = '127.0.0.1:9998';
 # $socketname = '[::1]:9998';
 
